modular N arithmetic

模N算术